import { ref } from "vue";
import { defineStore } from "pinia";

export const useAiStore = defineStore("ai", () => {
  const aiRealServer = ref("http://192.168.1.55:8082");
  const videoTypeList = [
    {
      name: "原始视频",
      val: "origin",
      check: true,
    },
    {
      name: "人员入侵",
      val: "Person",
      check: false,
    },
    {
      name: "水上垃圾",
      val: "WaterGarbage",
      check: false,
    },
    {
      name: "河流水藻",
      val: "Algae",
      check: false,
    },
    {
      name: "车辆类型",
      val: "VehicleType",
      check: false,
    },
    {
      name: "管道排水",
      val: "Water",
      check: false,
    },
  ];

  return { aiRealServer, videoTypeList };
});
